package com.platform.api.bzproject.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.platform.api.bzproject.dao.WxAdvertMapper;
import com.platform.api.bzproject.model.WxAdvert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author guoyunfei on 2021/7/11 18:40
 * @className WxAdvertService
 * @description TODO
 * @Version 1.0
 */

@Service
public class WxAdvertService extends ServiceImpl<WxAdvertMapper, WxAdvert> {

    @Autowired
    private WxAdvertMapper wxAdvertDao;

    /*
    查询页面广告信息
     */
    public List<Map<String,Object>> getAdPageList(Map<String,Object> map){
        List<Map<String, Object>> list = wxAdvertDao.getAdPageList(map);
        return list;
    }


}
